package org.vsb.chmireader.hibernate.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

@Entity
@Table(name="chmirecord")
public class ChmiRecord {
	
	@EmbeddedId
	private ChmiRecordKey chmiRecordKey;
	
	/**
	 * Begin of hour interval, from which are taken values 
	 */
	@Column(columnDefinition = "timestamp with time zone not null")
	@Temporal(TemporalType.TIMESTAMP)
	private Date startOfMeasuringPeriod;
	
	/**
	 * SO2 1h
	 */
	private String so21h;
	
	/**
	 * SO2 24 h
	 */
	private String so224h;
	
	/**
	 * NO2 1h
	 */
	private String no21h;
	
	/**
	 * CO 8h klouzave
	 */
	private String co8h;
	
	/**
	 * O2 1h
	 */
	private String o31h;
	
	/**
	 * O2 8h
	 */
	private String o38h;
	
	/**
	 * PM10 1h
	 */
	private String pm101h;
	
	/**
	 * PM10 24h
	 */
	private String pm1024h;
	
	/**
	 * PM2,5 1h
	 */
	private String pm251h;
	
	/**
	 * BENZEN 1h
	 */
	private String bzn1h;



	public String getSo21h() {
		return so21h;
	}

	public void setSo21h(String so21h) {
		this.so21h = so21h;
	}

	public String getSo224h() {
		return so224h;
	}

	public void setSo224h(String so224h) {
		this.so224h = so224h;
	}

	public String getNo21h() {
		return no21h;
	}

	public void setNo21h(String no21h) {
		this.no21h = no21h;
	}

	public String getCo8h() {
		return co8h;
	}

	public void setCo8h(String co8h) {
		this.co8h = co8h;
	}

	public String getO31h() {
		return o31h;
	}

	public void setO31h(String o31h) {
		this.o31h = o31h;
	}

	public String getO38h() {
		return o38h;
	}

	public void setO38h(String o38h) {
		this.o38h = o38h;
	}

	public String getPm101h() {
		return pm101h;
	}

	public void setPm101h(String pm101h) {
		this.pm101h = pm101h;
	}

	public String getPm1024h() {
		return pm1024h;
	}

	public void setPm1024h(String pm1024h) {
		this.pm1024h = pm1024h;
	}

	public String getPm251h() {
		return pm251h;
	}

	public void setPm251h(String pm251h) {
		this.pm251h = pm251h;
	}

	public String getBzn1h() {
		return bzn1h;
	}

	public void setBzn1h(String bzn1h) {
		this.bzn1h = bzn1h;
	}

	public ChmiRecordKey getChmiRecordKey() {
		return chmiRecordKey;
	}

	public void setChmiRecordKey(ChmiRecordKey chmiRecordKey) {
		this.chmiRecordKey = chmiRecordKey;
	}

	public Date getStartOfMeasuringPeriod() {
		return startOfMeasuringPeriod;
	}

	public void setStartOfMeasuringPeriod(Date startOfMeasuringPeriod) {
		this.startOfMeasuringPeriod = startOfMeasuringPeriod;
	}
	
	
	
	

}